package com.ccys.db.mapper;

import com.alibaba.fastjson.JSONObject;
import com.ccys.db.entity.TblBookingBenefitConsult;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

/**
* Created by Mybatis Generator on 2024/01/02
*/
public interface TblBookingBenefitConsultMapper extends Mapper<TblBookingBenefitConsult>, MySqlMapper<TblBookingBenefitConsult> {
    TblBookingBenefitConsult findById(String id);

    JSONObject selectCalculateByCondition(@Param("memId")String memId,@Param("benefitId")String benefitId,@Param("startTime")Long startTime,@Param("endTime")Long endTime);
}